import request from '@/utils/request';

export const saveSurvey = (data) => {
  return request({
    url: '/qnaire',
    method: 'post',
    data,
  });
};


export const delSurvey = (id) => {
	return request({
		url: `/qnaire/${id}`,
		method: 'delete',
	});
}